You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > StatRandom Class > StatRandom Methods > StatRandom.RandomPoisson Method
Dew Stats for .NET
ContentsIndexHome
Example

Generate 2000 random numbers by using the Poisson distribution with parameter lambda=2.31.

using Dew.Math; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { VectorInt r = new VectorInt(2000); StatRandom.RandomPoisson(2.31,r,-1); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.